import layout from '@/layout/'
const meta = { auth: false}
export default {
    path: '/rms',
    name: 'rms',
    meta,
    redirect: { name: 'rms-user' },
    component: layout,
    children: (pre => [
        {
            path: 'user',
            name: `${pre}user`,
            component: () => import('@/pages/rms/user'),
            meta: { ...meta, title: '用户管理' }
        },
        {
            path: 'role',
            name: `${pre}role`,
            component: () => import('@/pages/rms/role'),
            meta: { ...meta, title: '用户管理' }
        },{
            path: 'resource',
            name: `${pre}resource`,
            component: () => import('@/pages/rms/resource'),
            meta: { ...meta, title: '用户管理' }
        },{
            path: 'application',
            name: `${pre}application`,
            component: () => import('@/pages/rms/application'),
            meta: { ...meta, title: '用户管理' }
        }
    ])('rms-')
}